home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="EUC-JP"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ - Apache HTTP Ñ╡í╝Ñ╨</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page"><div id="page-header"> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p> <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="../">Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</a> > <a href="./">Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚</a></div><div id="page-content"><div id="preamble"><h1>╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../de/vhosts/name-based.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../en/vhosts/name-based.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/vhosts/name-based.html" hreflang="fr" rel="alternate" title="FranŽ«ais"> fr </a> | <a href="../ja/vhosts/name-based.html" title="Japanese"> ja </a> | <a href="../ko/vhosts/name-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div> <p>ñ│ñ╬╩╕╜±ñ╟ñ╧╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥ñ╔ñ≤ñ╩ñ╚ñ¡íó ñ╔ñªñΣñ├ñ╞╗╚ñªñ½ñ≥└Γ╠└ñ╖ñ▐ñ╣íú</p> </div> <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#namevip">╠╛┴░Ñ┘í╝Ñ╣ñ╚ IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬╚µ│╙</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#using">╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥═°═╤ñ╣ñδ</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#compat">╕┼ññÑ╓ÑΘѪÑ╢ñ╚ñ╬╕▀┤╣└¡</a></li> </ul><h3>╗▓╛╚</h3><ul class="seealso"><li><a href="ip-based.html">Ñ═í╝ÑαÑ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚</a></li><li><a href="details.html">Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬Ñ▐Ñ├Ñ┴Ñ≤Ñ░ñ╦ñ─ñññ╞ñ╬╛▄║┘</a></li><li><a href="mass.html">┬τ╬╠ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬╞░┼¬ñ╩└▀─Ω</a></li><li><a href="examples.html">Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬░∞╚╠┼¬ñ╩└▀─Ω╬π</a></li><li><a href="examples.html#serverpath">ServerPath └▀─Ω╬π</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="namevip" id="namevip">╠╛┴░Ñ┘í╝Ñ╣ñ╚ IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬╚µ│╙</a></h2> <p>IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╟ñ╧íó▒■┼·ñ╣ñδ Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╪ñ╬Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ≥╖Φ─Ωñ╣ñδñ┐ñßñ╦ IP ÑóÑ╔Ñ∞Ñ╣ñ≥╗╚═╤ñ╖ñ▐ñ╣íúñ╟ñ╣ñ½ñΘíóñ╜ñ∞ñ╛ñ∞ñ╬Ñ█Ñ╣Ñ╚ñ╦╕─í╣ñ╦ IP ÑóÑ╔Ñ∞Ñ╣ñ¼╔¼═╫ñ╦ñ╩ñΩñ▐ñ╣íúñ│ñ∞ñ╦┬╨ñ╖ñ╞╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╟ñ╧íó Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ¼ HTTP Ñ╪Ñ├Ñ└ñ╬░∞╔⌠ñ╚ñ╖ñ╞Ñ█Ñ╣Ñ╚╠╛ñ≥╣≡ñ▓ñδíó ñ╚ñññªñ│ñ╚ñ╦░═┬╕ñ╖ñ▐ñ╣íúñ│ñ╬╡╗╜╤ñ╟╞▒░∞ IP ÑóÑ╔Ñ∞Ñ╣ñ≥░█ñ╩ñδ┬┐┐⌠ñ╬Ñ█Ñ╣Ñ╚ñ╟╢ª═¡ñ╖ñ╞ñññ▐ñ╣íú</p> <p>╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╧─╠╛∩├▒╜πñ╟íóñ╜ñ∞ñ╛ñ∞ñ╬Ñ█Ñ╣Ñ╚╠╛ñ╚ ñ╜ñ∞ñ╦┬╨▒■ñ╣ñδ└╡│╬ñ╩ IP ÑóÑ╔Ñ∞Ñ╣ñ≥ DNS ñ╟└▀─Ωñ╖íó░█ñ╩ñδ Ñ█Ñ╣Ñ╚╠╛ñ≥╢Φ╩╠ñ╣ñδñΦñªñ╦ Apache HTTP Ñ╡í╝Ñ╨ñ≥└▀─Ωñ╣ñδñ└ñ▒ñ╟ñ╣íú ñ╡ñΘñ╦íó╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╧╔╘┬¡ñ╣ñδ IP ÑóÑ╔Ñ∞Ñ╣ñ╬╝√═╫ñ≥┤╦╧┬ñ╖ñ▐ñ╣íúñ╖ñ┐ñ¼ñ├ñ╞íóIP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥ ┴¬┬≥ñ╣ñ┘ñ¡╞├─Ωñ╬═²═│ñ¼ñ╩ñ▒ñ∞ñ╨╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥╗╚ñªñ┘ñ¡ñ╟ñ╣íú IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥╗╚═╤ñ╣ñδñ│ñ╚ñ≥╣═╬╕ñ╣ñδ═²═│ñ╚ñ╖ñ╞íó</p> <ul> <li>╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╦┬╨▒■ñ╖ñ╞ñññ╩ññ╕┼ññÑ»ÑΘÑñÑóÑ≤Ñ╚ñ¼ñóñδ ╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ¼╞»ñ»ñ┐ñßñ╦ñ╧íóÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╧ HTTP Ñ█Ñ╣Ñ╚Ñ╪Ñ├Ñ└ñ≥┴≈ñ├ñ╞ñ│ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú ñ│ñ∞ñ╧ HTTP/1.1 ñ╬╗┼══ñ╟═╫╡ßñ╡ñ∞ñ╞ñññ╞íóñ╣ñ┘ñ╞ñ╬╕╜┬σ┼¬ñ╩ HTTP/1.0 Ñ╓ÑΘѪÑ╢ñ╟ñΓ│╚─Ññ╚ñ╖ñ╞╝┬┴⌡ñ╡ñ∞ñ╞ñññ▐ñ╣íú ñ╚ñ╞ñΓ╕┼ññÑ»ÑΘÑñÑóÑ≤Ñ╚ñ≥Ñ╡Ñ▌í╝Ñ╚ñ╖ñ─ñ─íó╠╛┴░Ñ┘í╝Ñ╣ñ╬ Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥╣╘ñññ┐ññ╛∞╣τñ╧íóñ│ñ╬╩╕╜±ñ╬║╟╕σñ╬╩²ñ╦ ╜±ñ½ñ∞ñ╞ñññδ▓≥╖Φ║÷ñ╦ñ╩ñδñ½ñΓñ╖ñ∞ñ╩ññ╩²╦íñ≥╕½ñ╞ñ»ñ└ñ╡ññíú</li> <li>╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╧ SSL Ñ╫ÑφÑ╚Ñ│Ñδñ╬╞├─ºñ╦ñΦñΩíó SSL Ñ╗Ñ¡ÑσÑóÑ╡í╝Ñ╨ñ╦ñ╧╗╚ñ¿ñ▐ñ╗ñ≤íú</li> <li>ѬÑ┌Ñ∞í╝Ñ╞ÑúÑ≤Ñ░Ñ╖Ñ╣Ñ╞ÑαñΣÑ═Ñ├Ñ╚Ñ∩í╝Ñ»┴⌡├╓ñ╬ñ╩ñ½ñ╦ñ╧íó ╩╠ñ╬ IP ÑóÑ╔Ñ∞Ñ╣╛σñ╟ñ╩ññ╛∞╣τíó╩ú┐⌠ñ╬Ñ█Ñ╣Ñ╚ñ≥╩╠░╖ñññ╟ñ¡ñ╩ñññΦñªñ╩ ┬╙░Φ┤╔═²ñ╬╩²╦íñ≥╝┬┴⌡ñ╖ñ╞ñññδñΓñ╬ñ¼ñóñΩñ▐ñ╣íú</li> </ul> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="using" id="using">╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥═°═╤ñ╣ñδ</a></h2> <table class="related"><tr><th>┤╪╧óÑΓÑ╕Ñσí╝Ñδ</th><th>┤╪╧óÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</th></tr><tr><td><ul><li><code class="module"><a href="../mod/core.html">core</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code></li><li><code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code></li><li><code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code></li><li><code class="directive"><a href="../mod/core.html#servername">ServerName</a></code></li><li><code class="directive"><a href="../mod/core.html#serverpath">ServerPath</a></code></li><li><code class="directive"><a href="../mod/core.html#virtualhost">VirtualHost</a></code></li><li><code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code></li></ul></td></tr></table> <p>╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥╗╚ñªñ╦ñ╧íóñ╜ñ╬Ñ█Ñ╣Ñ╚ñ╪ñ╬ ÑΩѻѿÑ╣Ñ╚ñ≥╝⌡ñ▒╔╒ñ▒ñδÑ╡í╝Ñ╨ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ (ñΓñ╖ñ½ñ╖ñ┐ñΘÑ▌í╝Ñ╚ñΓ) ñ≥╗╪─Ωñ╣ñδ╔¼═╫ñ¼ñóñΩñ▐ñ╣íú ñ│ñ∞ñ╧ <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╟└▀─Ωñ╖ñ▐ñ╣íú─╠╛∩íó<code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> ñ╟ <code>*</code> ñ╬┬░└¡ñ≥╗╚ñ├ñ╞Ñ╡í╝Ñ╨ñ╬┴┤ñ╞ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ñ≥╗╚ñññ▐ñ╣íú (╬πñ¿ñ╨ SSL ñ╬╗╚═╤ñ╩ñ╔ñ╟) ╩ú┐⌠ñ╬Ñ▌í╝Ñ╚ñ≥╗╚ñªñ│ñ╚ñ≥╖╫▓Φñ╖ñ╞ñññδñ╬ñ╟ñóñ∞ñ╨íó ░·┐⌠ñ╦ <code>*:80</code> ñ╬ñΦñªñ╦Ñ▌í╝Ñ╚ñΓ┤▐ñßñδñΦñªñ╦ñ╖ñ╞ñ»ñ└ñ╡ññíú <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╟ IP ÑóÑ╔Ñ∞Ñ╣ñ≥╜±ñññ╞ñΓíó ╝½╞░┼¬ñ╦Ñ╡í╝Ñ╨ñ¼ñ╜ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ñ≥ÑΩÑ├Ñ╣Ñ≤ñ╣ñδñ╚ñññªñ│ñ╚ñ╧ñ╩ñññ│ñ╚ñ╦ ├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññíú╛▄║┘ñ╧í╓<a href="../bind.html">Apache ñ╬╗╚ñªÑóÑ╔Ñ∞Ñ╣ñ╚ Ñ▌í╝Ñ╚ñ≥└▀─Ωñ╣ñδ</a>í╫ñ≥╞╔ñ≤ñ╟ñ»ñ└ñ╡ññíúñ╡ñΘñ╦íóñ│ñ│ñ╟╗╪─Ωñ╡ñ∞ñ┐ IP ÑóÑ╔Ñ∞Ñ╣ñ╧┴┤ñ╞Ñ╡í╝Ñ╨ñ╬Ñ═Ñ├Ñ╚Ñ∩í╝Ñ»ÑñÑ≤Ñ┐í╝Ñ╒Ѻí╝Ñ╣ñ╚┤╪╧ó╔╒ñ▒ñΘñ∞ñ╞ ñññ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú</p> <p>╝íñ╧íó░╖ñªÑ█Ñ╣Ñ╚ñ╜ñ∞ñ╛ñ∞ñ╦┬╨ñ╖ñ╞ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ╓ÑφÑ├Ñ»ñ≥ ║ε└«ñ╖ñ╞ñ»ñ└ñ╡ññíú<code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬░·┐⌠ñ╧ <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬░·┐⌠ñ╚╞▒ñ╕ñ╦ñ╖ñ╞ñ»ñ└ñ╡ññ (ñ╣ñ╩ñ∩ñ┴íóIP ÑóÑ╔Ñ∞Ñ╣ñ½íó┴┤ñ╞ñ╬ÑóÑ╔Ñ∞Ñ╣ñ≥░╒╠úñ╣ñδ <code>*</code>)íúñ╜ñ∞ñ╛ñ∞ñ╬ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬├µñ╦ñ╧íó║╟─π╕┬íóñ╔ñ╬Ñ█Ñ╣Ñ╚ñ¼░╖ñ∩ñ∞ñδñ½ñ≥╝¿ñ╣ <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚íó ñ╜ñ╬Ñ█Ñ╣Ñ╚═╤ñ╬Ñ│Ñ≤Ñ╞Ñ≤Ñ─ñ¼Ñ╒ÑíÑñÑδÑ╖Ñ╣Ñ╞Ñα╛σñ╬ñ╔ñ│ñ╦ñóñδñ½ñ≥╝¿ñ╣ <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥ ╜±ñ»╔¼═╫ñ¼ñóñΩñ▐ñ╣íú</p> <div class="note"><h3>ÑßÑñÑ≤Ñ█Ñ╣Ñ╚ñ╧ñ╩ñ»ñ╩ñΩñ▐ñ╣</h3> <p>┤√ñ╦ñóñδѪѺÑ╓Ñ╡í╝Ñ╨ñ╦Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥─╔▓├ñ╣ñδ╛∞╣τíó ┤√┬╕ñ╬ѪѺÑ╓Ñ╡í╝Ñ╨ñ╦┬╨ñ╖ñ╞ñΓ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ╓ÑφÑ├Ñ»ñ≥║εñΘñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íúñ│ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬ <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> ñ╚ <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> ñ╧íóÑ░Ñφí╝Ñ╨Ñδñ╩ <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> ñ╚ <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> ñ╚╞▒ñ╕ñΓñ╬ñ╦ñ╖ñ▐ñ╣íúñ▐ñ┐íóñ│ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥└▀─ΩÑ╒ÑíÑñÑδñ╬├µñ╟ └Φ╞¼ñ╦├╓ñññ╞íóÑ╟Ñ╒Ñ⌐ÑδÑ╚Ñ█Ñ╣Ñ╚ñ╚ñ╖ñ╞╞░║εñ╣ñδñΦñªñ╦ñ╖ñ▐ñ╣íú</p> </div> <p>ñ┐ñ╚ñ¿ñ╨íó<code>www.domain.tld</code> ñ≥╞░ñ½ñ╖ñ╞ñññ╞íó ñ╡ñΘñ╦Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ <code>www.otherdomain.tld</code> ñ≥─╔▓├ñ╣ñδñ╚ñ╖ñ▐ñ╖ñτñªíúñ│ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╧╞▒░∞ IP ñ≥╗╪ñ╖ñ╞ñññδñ╚ñ╖ñ▐ñ╣íú ñ╜ñ╬ñΦñªñ╩╛∞╣τñ╧íó<code>httpd.conf</code> ñ╦░╩▓╝ñ╬ñΦñªñ╩Ñ│í╝Ñ╔ñ≥─╔▓├ñ╣ñδñ└ñ▒ñ╟ñ╣</p> <div class="example"><p><code> NameVirtualHost *:80<br /> <br /> <VirtualHost *:80><br /> <span class="indent"> ServerName www.domain.tld<br /> ServerAlias domain.tld *.domain.tld<br /> DocumentRoot /www/domain<br /> </span> </VirtualHost><br /> <br /> <VirtualHost *:80><br /> <span class="indent">ServerName www.otherdomain.tld<br /> DocumentRoot /www/otherdomain<br /> </span> </VirtualHost><br /> </code></p></div> <p><code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> ╡┌ñ╙ <code class="directive"><a href="../mod/core.html#virtualhost">VirtualHost</a></code> ñ╬ñ╔ñ┴ñΘñ╬╛∞╣τñΓíó * ñ╬╔⌠╩¼ñ╦ñ╧╠└╝¿┼¬ñ╦ IP ÑóÑ╔Ñ∞Ñ╣ñ≥╗╪─Ωñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú ╬πñ¿ñ╨íóñóñδ IP ÑóÑ╔Ñ∞Ñ╣ñ╟ñ╧╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥╗╚ñññ┐ññ░∞╩²ñ╟íó ╩╠ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ñ╟ñ╧íó┬╛ñ╬ IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñΣ ╩╠┴╚ñ╬╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥╗╚ñññ┐ññ╛∞╣τíó ñ╜ñª└▀─Ωñ╣ñδñ│ñ╚ñ╦ñ╩ñδñ╟ñ╖ñτñªíú</p> <p>╩ú┐⌠ñ╬╠╛┴░ñ╟Ñ╡í╝Ñ╨ÑóÑ»Ñ╗Ñ╣ñ¼ñ╟ñ¡ñδñΦñªñ╦ñ╖ñ┐ñññ│ñ╚ñΓ┬┐ñññ╟ñ╖ñτñªíú ñ│ñ╬ñΦñªñ╩ñ│ñ╚ñ╧íó<code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ╗Ñ»Ñ╖ÑτÑ≤ñ╦╡¡╜╥ñ╣ñδñ│ñ╚ñ╟╝┬╕╜ñ╟ñ¡ñ▐ñ╣íú ╬πñ¿ñ╨╛σ╡¡ñ╬ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> ñ╬╬πñ╟ñóñ∞ñ╨íó ╝íñ╬ñΦñªñ╦░∞═≈ñ╦╡≤ñ▓ñΘñ∞ñ┐╠╛┴░ñ¼íó ѵí╝Ñ╢ñ¼╞▒░∞ñ╬ѪѺÑ╓Ñ╡ÑñÑ╚ñ╚ñ╖ñ╞╠▄ñ╦ñ╖ñ╞╗╚═╤ñ╟ñ¡ñδÑ╡í╝Ñ╨╠╛ñ╟ñóñδíó ñ╚ <code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╟╗╪─Ωñ╟ñ¡ñ▐ñ╣íú</p> <div class="example"><p><code> ServerAlias domain.tld *.domain.tld </code></p></div> <p><code>domain.tld</code> Ñ╔ÑßÑñÑ≤ñ╪ñ╬┴┤ñ╞ñ╬Ñ█Ñ╣Ñ╚ñ╪ñ╬ÑΩѻѿÑ╣Ñ╚ñ╧ <code>www.domain.tld</code> ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ¼╜Φ═²ñ╖ñ▐ñ╣íú ╠╛┴░ñ≥Ñ▐Ñ├Ñ┴ñ╡ñ╗ñδñ┐ñßñ╦íóÑ∩ÑñÑδÑ╔ѽí╝Ñ╔╩╕╗· * ñΣ ? ñ≥╗╚═╤ñ╣ñδñ│ñ╚ñΓñ╟ñ¡ñ▐ñ╣íúñΓñ┴ñφñ≤╗╫ñññ─ñ¡ñ╬╠╛┴░ñ≥║εñ├ñ╞íó <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> ñΣ <code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> ñ╦ñ╜ñ╬╠╛┴░ñ≥╜±ñ»ñ╚ñññ├ñ┐ñ│ñ╚ñ╧ñ╟ñ¡ñ▐ñ╗ñ≤íúñ▐ñ║ñ╧íó ñ│ñ∞ñΘñ╬╠╛┴░ñ¼ Ñ╡í╝Ñ╨ñ╦╔╒ñ▒ñΘñ∞ñ┐ IP ÑóÑ╔Ñ∞Ñ╣ñ╦Ñ▐Ñ├Ñ╫ñ╡ñ∞ñδñΦñªñ╦ DNS Ñ╡í╝Ñ╨ñ≥┼¼└┌ñ╦└▀─Ωñ╖ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú</p> <p>║╟╕σñ╦íó<code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ│Ñ≤Ñ╞Ñ╩ñ╬├µñ╦ ┬╛ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥╜±ñ»ñ│ñ╚ñ╟íóÑ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬└▀─Ωñ≥║┘ñ½ñ»─┤└░ ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú ñ█ñ╚ñ≤ñ╔ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ñ│ñ∞ñΘñ╬Ñ│Ñ≤Ñ╞Ñ╩ñ╦└▀├╓ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ╞íó ╩╤╣╣┼└ñ╧ñ╜ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╦┬╨ñ╖ñ╞ñ╬ñ▀═¡╕·ñ╦ñ╩ñΩñ▐ñ╣íú ñ╔ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥╜±ñ»ñ│ñ╚ñ¼ñ╟ñ¡ñδñ½ñ╧íóÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬ <a href="../mod/directive-dist.html#context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚</a> ñ≥ ─┤ñ┘ñ╞ñ»ñ└ñ╡ññíú<em>╝τÑ╡í╝Ñ╨Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚</em> (<code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> Ñ│Ñ≤Ñ╞Ñ╩ñ╬│░) ñ╬└▀─Ω═╤Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╟ñ╬└▀─Ωñ╟ ╛σ╜±ñ¡ñ╡ñ∞ñ╩ññ╛∞╣τñ╬ñ▀╗╚═╤ñ╡ñ∞ñ▐ñ╣íú</p> <p>ÑΩѻѿÑ╣Ñ╚ñ¼═Φñδñ╚íóÑ╡í╝Ñ╨ñ╧ñ▐ñ║║╟╜Θñ╦ <code class="directive"><a href="../mod/core.html#namevirtualhost"><NameVirtualHost></a></code> ñ╦Ñ▐Ñ├Ñ┴ñ╣ñδ IP ÑóÑ╔Ñ∞Ñ╣ñ½ñ╔ñªñ½ñ≥Ñ┴ѺÑ├Ñ»ñ╖ñ▐ñ╣íúÑ▐Ñ├Ñ┴ñ╣ñ∞ñ╨ Ñ▐Ñ├Ñ┴ñ╖ñ┐ IP ÑóÑ╔Ñ∞Ñ╣ñ╬ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> ñ╬ñ╜ñ∞ñ╛ñ∞ñ╬Ñ╗Ñ»Ñ╖ÑτÑ≤ñ╬├µñ½ñΘ <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> ñ½ <code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> ñ╦═╫╡ßñ╡ñ∞ñ┐Ñ█Ñ╣Ñ╚╠╛ñ¼ñóñδñ½├╡ñ╖ñ▐ñ╣íú ╕½ñ─ñ½ñ∞ñ╨ñ╜ñ╬Ñ╡í╝Ñ╨═╤ñ╬└▀─Ωñ≥╗╚ñññ▐ñ╣íúÑ▐Ñ├Ñ┴ñ╣ñδÑ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ ñ¼╕½ñ─ñ½ñΘñ╩ñ▒ñ∞ñ╨íóÑ▐Ñ├Ñ┴ñ╖ñ┐ IP ÑóÑ╔Ñ∞Ñ╣ñ╬ <strong>ÑΩÑ╣Ñ╚ñ╬║╟╜Θñ╦ñóñδÑ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚</strong> ñ¼╗╚ñ∩ñ∞ñ▐ñ╣íú</p> <p>╖δ▓╠ñ╚ñ╖ñ╞íóÑΩÑ╣Ñ╚ñ╬║╟╜Θñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ¼ <em>Ñ╟Ñ╒Ñ⌐ÑδÑ╚</em> ñ╬ Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╦ñ╩ñΩñ▐ñ╣íúIP ÑóÑ╔Ñ∞Ñ╣ñ¼ <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╦Ñ▐Ñ├Ñ┴ñ╖ñ┐╛∞╣τñ╧íó<em>ÑßÑñÑ≤ñ╬Ñ╡í╝Ñ╨</em> ñ╬ <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> ñ╧<strong>╖Φñ╖ñ╞╗╚ñ∩ñ∞ñ▐ñ╗ñ≤</strong> ñ╔ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╦ñΓÑ▐Ñ├Ñ┴ñ╖ñ╩ññÑΩѻѿÑ╣Ñ╚ñ╦┬╨ñ╖ñ╞íó ╞├╩╠ñ╩└▀─Ωñ≥ñ╖ñ┐ñññ╬ñ╟ñóñ∞ñ╨íó└▀─ΩÑ╒ÑíÑñÑδ├µñ╬║╟╜Θñ╬ <code><VirtualHost></code> Ñ│Ñ≤Ñ╞Ñ╩ñ╦ñ╜ñ∞ñ≥╡¡╜╥ñ╖ñ╞ñ»ñ└ñ╡ññíú</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="compat" id="compat">╕┼ññÑ╓ÑΘѪÑ╢ñ╚ñ╬╕▀┤╣└¡</a></h2> <p>░╩┴░╜╥ñ┘ñ┐ñΦñªñ╦íó╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ¼└╡ñ╖ñ»╞░║εñ╣ñδ ñ┐ñßñ╦╔¼═╫ñ╩╛≡╩≤ñ≥┴≈ñ├ñ╞ñ│ñ╩ññÑ»ÑΘÑñÑóÑ≤Ñ╚ñ¼░═┴│ñ╚ñ╖ñ╞┬╕║▀ñ╖ñ╞ñññ▐ñ╣íú ñ╜ñ╬ñΦñªñ╩Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ╦┬╨ñ╖ñ╞ñ╧íó│║┼÷ñ╣ñδ IP ÑóÑ╔Ñ∞Ñ╣ñ╦ñ─ñññ╞íó ░∞╚╓║╟╜Θñ╦└▀─Ωñ╡ñ∞ñ╞ñññδÑ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ (<cite>Ñ╫ÑΘÑñÑ▐ÑΩ</cite>ñ╬╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚) ñ½ñΘÑ┌í╝Ñ╕ñ¼┴≈ñΩ╩╓ñ╡ñ∞ñ▐ñ╣íú</p> <div class="note"><h3>ñ╔ñ╬ñ░ñΘññ╕┼ñññ╬ ?</h3> <p>í╓╕┼ññí╫ñ╚╔╜╕╜ñ╖ñ╞ñññδ╛∞╣τíó╦▄┼÷ñ╦╕┼ñññ│ñ╚ñ≥░╒╠úñ╖ñ╞╗╚ñ├ñ╞ñññ▐ñ╣íú ╔╘╣¼ñ╦ñ╖ñ╞║ú╕╜║▀ñ╟ñΓñ│ñ╬ñΦñªñ╩╕┼ññÑ╓ÑΘѪÑ╢ñ╦┴°╢°ñ╣ñδñ│ñ╚ñ¼ñóñΩñ▐ñ╣íú ╕╜║▀ñ╬Ñ╓ÑΘѪÑ╢ñ╧┴┤ñ╞íó╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╦╔¼═╫ñ╩ <code>Host</code> Ñ╪Ñ├Ñ└ñ≥┴≈ñΩñ▐ñ╣íú</p> </div> <p><a href="../mod/core.html#serverpath"><code>ServerPath</code></a> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╟┬╨╜Φñ¼▓─╟╜ñ╟ñ╣íúñ┴ñτñ├ñ╚╔╘│╩╣Ññ╟ñ╣ñ▒ñ∞ñ╔ñΓíú</p> <p>└▀─Ω╬π</p> <div class="example"><p><code> NameVirtualHost 111.22.33.44<br /> <br /> <VirtualHost 111.22.33.44><br /> <span class="indent"> ServerName www.domain.tld<br /> ServerPath /domain<br /> DocumentRoot /web/domain<br /> </span> </VirtualHost><br /> </code></p></div> <p>ñ│ñ╬╬πñ╦ñ╧ñ╔ñªñññª░╒╠úñ¼ñóñδñ╟ñ╖ñτñªñ½? ñ│ñ∞ñ╧ "<code>/domain</code>" ñ╟╗╧ñ▐ñδ URI ñ╪ñ╬ÑΩѻѿÑ╣Ñ╚ñ╧ñ╣ñ┘ñ╞íó Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ <code>www.domain.tld</code> ñ╟╜Φ═²ñ╡ñ∞ñδíó ñ╚ñññª░╒╠úñ╟ñ╣íúñ─ñ▐ñΩíóñ╣ñ┘ñ╞ñ╬Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ╟ <code>http://www.domain.tld/domain/</code> ñ╟ÑóÑ»Ñ╗Ñ╣ñ╟ñ¡ñδÑ┌í╝Ñ╕ñ¼íó <code>Host:</code> Ñ╪Ñ├Ñ└ñ≥┴≈ñ├ñ╞ñ»ñδÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╟ñóñ∞ñ╨ <code>http://www.domain.tld/</code> ñ╚ñ╖ñ╞ñΓÑóÑ»Ñ╗Ñ╣ñ╟ñ¡ñδíó ñ╚ñññª░╒╠úñ╟ñ╣íú</p> <p>ñ│ñ∞ñ¼╞░║εñ╣ñδñΦñªñ╦ñ╣ñδñ╦ñ╧íó Ñ╫ÑΘÑñÑ▐ÑΩñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬Ñ┌í╝Ñ╕ñ╦ <code>http://www.domain.tld/domain/</code> ñ╪ñ╬ÑΩÑ≤Ñ»ñ≥└▀├╓ñ╖ñ▐ñ╣íú ñ╜ñ╖ñ╞íóÑ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬Ñ┌í╝Ñ╕ñ╟ñ╧íó╜π┐Φñ╩┴Ω┬╨ÑΩÑ≤Ñ» (<em>╬π:</em> "<code>file.html</code>" ñΣ "<code>../icons/image.gif</code>")íó ñóñδñññ╧ <code>/domain/</code> ñ╟╗╧ñ▐ñδÑΩÑ≤Ñ» (<em>╬π:</em> "<code>http://www.domain.tld/domain/misc/file.html</code>" ñΣ "<code>/domain/misc/file.html</code>") ñ└ñ▒ñ≥└▀├╓ñ╖ñ▐ñ╣íú</p> <p>ñ│ñ∞ñ╦ñ╧íó┤÷╩¼ñ½ñ╬╡¼╬ºñ¼╔¼═╫ñ╚ñ╩ñΩñ▐ñ╣ñ¼íó ñ│ñ╬ñΦñªñ╩ѼÑñÑ╔ÑΘÑñÑ≤ñ≥├Θ╝┬ñ╦╝Θñδñ│ñ╚ñ╦ñΦñΩíóñ┐ñññ╞ñññ╬╛∞╣τíó ñ╣ñ┘ñ╞ñ╬Ñ╓ÑΘѪÑ╢ñ╟ í╜ ┐╖ñ╖ññÑ╓ÑΘѪÑ╢ñ╟ñΓ╕┼ñññΓñ╬ñ╟ñΓ í╜ ║ε└«ñ╖ñ┐Ñ┌í╝Ñ╕ñ¼╕½ñ¿ñδñ╚ñññªñ│ñ╚ñ≥╩▌╛┌ñ╖ñ▐ñ╣íú</p> </div></div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../de/vhosts/name-based.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../en/vhosts/name-based.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/vhosts/name-based.html" hreflang="fr" rel="alternate" title="FranŽ«ais"> fr </a> | <a href="../ja/vhosts/name-based.html" title="Japanese"> ja </a> | <a href="../ko/vhosts/name-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div><div id="footer"> <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div> </body></html>